Skip to content

added module data endpoint#326

Open
raphael-goetz wants to merge 10 commits into
mainfrom
#321-add-module-data
Open

added module data endpoint#326
raphael-goetz wants to merge 10 commits into
mainfrom
#321-add-module-data

Conversation

@raphael-goetz

@raphael-goetz raphael-goetz commented Jun 16, 2026

Copy link
Copy Markdown
Member

Resolves: #321

This draft can be already reviewed. I decided to add a taurus endpoint => Aquila will ask Taurus for Module Data, this way its easier to implement and would be more resource efficient, if this is not possible I would replicate as its done in sagittarius.module.proto

If you both approve of the changes, ill do the needed adjustments for Taurus Build Steps
@Taucher2003 @nicosammito

@nicosammito nicosammito left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay but what about actions? They can also have a module definition and this can be also updated on runtime

Comment thread proto/shared/shared.module.proto Outdated
Comment thread proto/shared/shared.module.proto Outdated
@nicosammito nicosammito marked this pull request as ready for review June 19, 2026 20:37
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
Comment thread proto/aquila/aquila.module.proto Outdated
Comment thread proto/shared/shared.module.proto Outdated
Comment thread proto/shared/shared.module.proto Outdated
Comment on lines +67 to +68
string filter = 2;
string sort = 3;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We definitely need to think about this and typing this in a way that filtering and sorting is properly done.

generally a filter can is be an array of key and value with a operation in between. a sort should be a simple ASC DESC via a field.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should do both as shared.Value and not make this typed. We don't know how this will evolve

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand your idea. But than every action can develop there own searching and filtering and I'm not fine with that. This can become very massy very easily. Generally we start as low as possible and add new fields in the future.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember, this will mean that we always need to do Sagittarius changes to make this possible.

Also Actions with a typed system then also need changes if just a change happened. And also every module data system is specific for an action. The Implementation will always be different.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember, this will mean that we always need to do Sagittarius changes to make this possible.

Also Actions with a typed system then also need changes if just a change happened. And also every module data system is specific for an action. The Implementation will always be different.

For actions this will be implemented within the action sdk itself. So an actions doesn't need any updates. The IDE will need to update for sure, but we need to update it either way if we change something. So I would prefer a typed way.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My idea for sort

message ModuleDataSort { 
  enum ModuleDataSortDirection { 
   UNKNOWN = 0; 
   ASC = 1; 
   DESC = 2; 
  }

 string field = 1; 
 ModuleDataSortDirection direction = 2; 
} 

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My idea for sort

message ModuleDataSort { 
  enum ModuleDataSortDirection { 
   UNKNOWN = 0; 
   ASC = 1; 
   DESC = 2; 
  }

 string field = 1; 
 ModuleDataSortDirection direction = 2; 
} 

Yep I'm fine with that for sort

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll discuss the filter on our meeting this Tuesday

raphael-goetz and others added 2 commits June 22, 2026 14:24
Co-authored-by: Nico Sammito <nsammito@code0.tech>
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
@raphael-goetz

Copy link
Copy Markdown
Member Author

I've removed the taurus protocol layer so that we don't need to deal with scaling onto requesting

Copilot AI review requested due to automatic review settings July 2, 2026 18:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Comment thread proto/shared/shared.module.proto Outdated
string sort = 3;
repeated ModuleDataFilter filter = 2;
repeated ModuleDataSort sort = 3;
string cursor = 4;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a cursor here but its not linked to PageInfo and ModuleData at all

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explain? Do you want to have a typed Cursor Object?

@raphael-goetz raphael-goetz self-assigned this Jul 5, 2026
Comment thread proto/shared/shared.module.proto Outdated
Co-authored-by: Nico Sammito <nsammito@code0.tech>
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
@raphael-goetz raphael-goetz requested a review from nicosammito July 5, 2026 19:51
@raphael-goetz

Copy link
Copy Markdown
Member Author

@nicosammito @Taucher2003 is this ready to be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding module data

3 participants